home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMLINUX / MAIL / 9701 / 000061_owner-linux-arm…r.rutgers.edu _Sat Jan 24 20:42:10 1998.msg < prev    next >
Internet Message Format  |  1998-01-25  |  5KB

  1. Return-Path: <owner-linux-arm-outgoing@vger.rutgers.edu>
  2. Received: from nic.funet.fi (nic.funet.fi [128.214.248.6])
  3.     by odie.barnet.ac.uk (8.8.6/8.8.6) with ESMTP id UAA08282
  4.     for <willy@odie.fluff.org>; Sat, 24 Jan 1998 20:42:08 GMT
  5. Received: from vger.rutgers.edu ([128.6.190.2]:28256 "EHLO vger.rutgers.edu" ident: "root") by nic.funet.fi with ESMTP id <13002-619>; Sat, 24 Jan 1998 22:42:04 +0200
  6. Received: by vger.rutgers.edu id <971114-257>; Sat, 24 Jan 1998 15:40:26 -0500
  7. Received: from post-20.mail.demon.net ([194.217.242.27]:60194 "HELO post.mail.demon.net" ident: "NO-IDENT-SERVICE") by vger.rutgers.edu with SMTP id <971121-257>; Sat, 24 Jan 1998 15:39:50 -0500
  8. Received: from treblig.demon.co.uk ([194.222.210.232]) by post.mail.demon.net
  9.            id aa2028810; 24 Jan 98 20:27 GMT
  10. Date:     Sat, 24 Jan 1998 20:23:15 +0000 (GMT)
  11. From: Dave Gilbert <gilbertd@treblig.org>
  12. X-Sender: gilbertd@tardis.home.dave
  13. To: linux-arm@vger.rutgers.edu
  14. Subject: Patches to 2.0.33 for old Arc
  15. Message-ID: <Pine.LNX.3.96.980124201953.415D-100000@tardis.home.dave>
  16. MIME-Version: 1.0
  17. Content-Type: TEXT/PLAIN; charset=US-ASCII
  18. X-Orcpt: rfc822;linux-arm@vger.rutgers.edu
  19. Sender: owner-linux-arm@vger.rutgers.edu
  20. Precedence: bulk
  21. Status: RO
  22.  
  23. Hi,
  24.   Russ and myself have just cut the following minor changes to allow
  25. 2.0.33 to be built for old Arc's.  It now seems to be running fine on
  26. my A440 and should run on things like R260's etc as well (I'll
  27. try that later).
  28.  
  29.   One other issue that is known is that 'mkswap' doesn't work on the
  30. old machines (the ancient version I had been using does - but the current
  31. distribution doesn't). I'm sure that will be fixed very soon.
  32.  
  33. Dave
  34.  
  35. diff -r linux-2.0.33-arm-asOnWeb/arch/arm/boot/tools/build.c ../2.0.33/linux/arch/arm/boot/tools/build.c
  36. 27c27
  37. <         unsigned long my_header;
  38. ---
  39. >         unsigned int my_header;
  40. diff -r linux-2.0.33-arm-asOnWeb/arch/arm/drivers/block/blk.h ../2.0.33/linux/arch/arm/drivers/block/blk.h
  41. 109c109
  42. <            if (!__err) set_device_ro((dev),get_fs_long((long *) (where))); return __err; } \
  43. ---
  44. >            if (!__err) set_device_ro((dev),get_user((long *) (where))); return __err; } \
  45. 111c111
  46. <            if (!__err) put_fs_long(0!=is_read_only(dev),(long *) (where)); return __err; }
  47. ---
  48. >            if (!__err) put_user(0!=is_read_only(dev),(long *) (where)); return __err; }
  49. diff -r linux-2.0.33-arm-asOnWeb/arch/arm/drivers/block/fd1772.c ../2.0.33/linux/arch/arm/drivers/block/fd1772.c
  50. 142a143
  51. > #include <asm/segment.h>
  52. diff -r linux-2.0.33-arm-asOnWeb/arch/arm/drivers/scsi/acornscsi.c ../2.0.33/linux/arch/arm/drivers/scsi/acornscsi.c
  53. 1663,1664c1663
  54. <     if (host->device[host->SCpnt->target].sync_state == SYNC_ASYNCHRONOUS ||
  55. <     host->device[host->SCpnt->target].sync_state == SYNC_NEGOCIATE) {
  56. ---
  57. >     if (host->device[host->SCpnt->target].sync_state == SYNC_NEGOCIATE) {
  58. diff -r linux-2.0.33-arm-asOnWeb/arch/arm/lib/getconsdata.c ../2.0.33/linux/arch/arm/lib/getconsdata.c
  59. 21c21
  60. < #if defined(CONFIG_PROC_ARMO)
  61. ---
  62. > #if defined(CONFIG_CPU_ARM2) || defined(CONFIG_CPU_ARM3)
  63. diff -r linux-2.0.33-arm-asOnWeb/arch/arm/mm/proc-arm2,3.S ../2.0.33/linux/arch/arm/mm/proc-arm2,3.S
  64. 11c11
  65. < #include "constants.h"
  66. ---
  67. > #include "../lib/constants.h"
  68. diff -r linux-2.0.33-arm-asOnWeb/include/asm-arm/a.out.h ../2.0.33/linux/include/asm-arm/a.out.h
  69. 3a4,5
  70. > #include <linux/types.h>
  71. 6,13c8,15
  72. <   unsigned long a_info;        /* Use macros N_MAGIC, etc for access */
  73. <   unsigned a_text;        /* length of text, in bytes */
  74. <   unsigned a_data;        /* length of data, in bytes */
  75. <   unsigned a_bss;        /* length of uninitialized data area for file, in bytes */
  76. <   unsigned a_syms;        /* length of symbol table data in file, in bytes */
  77. <   unsigned a_entry;        /* start address */
  78. <   unsigned a_trsize;        /* length of relocation info for text, in bytes */
  79. <   unsigned a_drsize;        /* length of relocation info for data, in bytes */
  80. ---
  81. >   __u32 a_info;        /* Use macros N_MAGIC, etc for access */
  82. >   __u32 a_text;        /* length of text, in bytes */
  83. >   __u32 a_data;        /* length of data, in bytes */
  84. >   __u32 a_bss;        /* length of uninitialized data area for file, in bytes */
  85. >   __u32 a_syms;        /* length of symbol table data in file, in bytes */
  86. >   __u32 a_entry;        /* start address */
  87. >   __u32 a_trsize;        /* length of relocation info for text, in bytes */
  88. >   __u32 a_drsize;        /* length of relocation info for data, in bytes */
  89. diff -r linux-2.0.33-arm-asOnWeb/include/asm-arm/arch-arc/io.h ../2.0.33/linux/include/asm-arm/arch-arc/io.h
  90. 61c61
  91. <     "strb    %1, [%0, %2, lsl #2]"
  92. ---
  93. >     "str    %1, [%0, %2, lsl #2]"
  94.  
  95.  
  96.  --------------------------------------------------------------------
  97. / Dr. David Alan Gilbert      | Running Linux on Alpha & ARM         \ 
  98. \   gro.gilbert @ treblig.org | ------- Happy in hex -------         /
  99.  \____________________________|___ http://www.treblig.demon.co.uk __/
  100.  
  101. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu